Skip to main content

ModifyLoginSwitchConfig

Description

call ModifyLoginSwitchConfig to turn on or off login security settings in the basic information of a single asset.

Request Method

POST

Request Path

/apsara/route/Sas/ModifyLoginSwitchConfig

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
StatusBODYintegerYes0configure the state of the switch. Value: 0: close 1: open
ItemBODYstringYeslogin_common_accountthe type of switch to be turned on or off. Value: login_common_ip: very use login IP alarm login_common_time: very use login time alarm login_common_account: very use account login alarm
regionIdBODYstringYesNo sample value for this parameter.region id
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIdstringB256A525-7E42-4BB9-A27C-9017FDDFF1A2the unique identifier generated by alibaba cloud for this request.

Example

Successful Response example

{
"RequestId":"B256A525-7E42-4BB9-A27C-9017FDDFF1A2"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}